package com.app.mymusic.common;

import android.os.Environment;

import java.io.File;

/**
 * Created by Administrator on 2016/7/14.
 */
public class Constants {
    /**
     * 数据库名
     */
    public static final String DB_NAME = "happy_player.db";
    public static final String DB_DOWNLOAD= "download.db";
    public static int PLAY_MODE=0;
    public static String DIR= Environment.getExternalStorageDirectory()+ File.separator+"360"+File.separator;
    private static String IPaddress = "oa4.hngl.cn";
    private static String port = "80";
    private static String projectname = "OA";
    /*http://tingapi.ting.baidu.com/v1/restserver/ting
?format=json&calback=&from=webapp_music&method=baidu.ting.billboard.billList&type=1&size=10&offset=0*/
    public static String tingIrl="http://tingapi.ting.baidu.com/v1/restserver/";

    public static String getUrl() {
        String url = "http://" + IPaddress + ":" + port + "/" + projectname + "/";
        return url;
    }


}
